<?
foreach($result as $key=>$val){
?>
<tr>
	<td><?=date("Y/m/d H:i:s",$val->ctime)?></td>
	<td><?=$val->to?></td>
	<td><?=$val->content?></td>
	<td><?=$val->status?></td>
</tr>
<?
}
?>	